<script type="text/javascript">
	$(document).ready(function(){
			var div_name = "#div_followup";
			var offset = <?php echo $offset; ?>;
			if(offset > 0){				
				var per_page_followup = <?php echo $per_page_followup; ?>;
				if(<?php echo count($follow_up);?> == 0){
					offset = offset - per_page_followup;
					trans_id = "<?php echo $trans_id;?>";
					var embedString = "<?php echo $embedString; ?>";
					$(div_name).load($("#base_url").attr('alt')+'admin/order/load_followup/'+trans_id+'/'+offset+embedString);
				}
			}
		}
	);
	$(function(){
		convert_paging("#div_followup",".paging");
	});
</script>
			<?php if(count($follow_up) == 0) { ?>
            	<div class="col3 title">No Follow-up Record</div>
			<?php }else{ ?>
        	<div class="col1 title">Admin Username</div>
            <div class="col2 title">Date</div>
            <div class="col3 title">Result</div>
            <div class="clear"></div>
            <?php
			$i = 0;
            foreach($follow_up as $follow){
				$i++;
			?>
            <!-- perulangan -->
            <div class="<?php echo ($i%2==1)?"odd":"even";?>">
                <div class="col1"><a href="<?php echo base_url();?>admin/manage_admin/detail/<?php echo $follow['user_id'];?>"><?php echo $follow['username'];?></a></div>
                <div class="col2"><?php echo $follow['entry_date'];?></div>
                <div class="col3"><?php echo $follow['result'];?></div>
            </div>
            <?php } ?>
            <!-- AKHIR perulangan -->
            
            <div class="clear"></div>
            <div class="paging"><?php echo $pagination;?></div>
            <?php } ?>